package com.cidp.system.pojo;

import java.util.ArrayList;
import java.util.List;


public class LoginPo {
	
	private String loginId; //登陆ID
	
	private List rightList = new ArrayList();	//用户拥有权限列表

	public String getLoginId() {
		return loginId;
	}

	public void setLoginId(String loginId) {
		this.loginId = loginId;
	}

	public List getRightList() {
		return rightList;
	}

	public void setRightList(List rightList) {
		this.rightList = rightList;
	}
	public boolean hasRight(String rightCode)
	{
		return rightList.contains(rightCode);
	}
}
